package net.btd.city;

import javax.microedition.lcdui.ItemCommandListener;
import javax.microedition.lcdui.StringItem;

public class WAY2Menu extends StringItem
{

    private int _fldif;
    private int _flddo;
    public int a;

    public WAY2Menu(String s, int i, int j, ItemCommandListener itemcommandlistener, int k)
    {
        super("", s + "\n");
//        System.out.println("Way2Menu-------"+s+"  i="+i+"   j="+j+"  listener="+itemcommandlistener+"  k="+k);
        _fldif = -1;
        _flddo = -1;
        a = 0;
        _fldif = i;
        _flddo = j;
        setLayout(513);
        addCommand(CONST.d);
        setItemCommandListener(itemcommandlistener);
        a = k;
    }

    public int _mthdo()
    {
        return _fldif;
    }

    public int a()
    {
        return _flddo;
    }

    public int _mthif()
    {
        return a;
    }
}
